.scroll-view {
  width: 100%;
  max-height: 100% !important;
  overflow-y: auto;
  overflow-x: hidden;
}

.content {
  background-color: #fff;
  width: 100%;
  min-height: 100%;
  padding: 20px 15px;
  box-sizing: border-box;
  border-radius: 8px;

  .title {
    font-weight: 500;
    font-size: 16px;
    color: #1b2431;
    position: relative;
    margin: 0 0 20px 0;
    padding-left: 10px;

    &::after {
      content: "";
      width: 4px;
      height: 12px;
      background: #3d7fff;
      position: absolute;
      left: 0;
      top: 3px;
      border-radius: 2px;
    }
  }

  .swiper-box {
    width: 100%;

    .banner {
      width: 250px;
      height: 79px;
      margin: 0 5px 10px 5px;
    }

    .case {
      width: 163px;
      height: 110px;
    }

    ::v-deep .el-upload {
      width: 100%;
      height: 100%;
      border: 1px dashed #d9d9d9;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;

      &:hover {
        border-color: #3D7FFF;
      }

      .avatar-uploader-icon {
        font-size: 30px;
        color: #dde2ee;
      }
    }
  }

  .case-add {
    width: 163px;
    height: 110px;
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      border-color: #3D7FFF;
    }

    .avatar-uploader-icon {
      font-size: 30px;
      color: #dde2ee;
    }
  }

  .tinymce-box {
    width: 100%;
    margin-bottom: 20px;

    .html-box {
      width: 375px;
      height: 600px;
      border: 1px solid #cccccc;
      margin-left: 20px;
      padding: 0 5px;
      box-sizing: border-box;
      overflow-y: auto;
      overflow-x: hidden;
    }

    ::v-deep .tox-tinymce {
      min-height: 600px;
    }
  }
}

.file-box {
  width: 250px;
  height: 79px;
  border-radius: 6px;
  border: 1px solid #fff;
  margin: 0 5px 10px 5px;
  position: relative;
  overflow: hidden;
  cursor: pointer;

  .edit-box {
    padding: 0 5px;
    height: 22px;
    border-radius: 11px;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 3px;
    right: 3px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;

    .iconfont+.iconfont {
      margin-left: 8px;
    }

    .iconfont {
      font-size: 12px;
      font-weight: bold;
      cursor: pointer;
    }

    .icon-bianji1 {
      font-size: 14px;
    }
  }

  .play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    i {
      color: #FFF;
      font-size: 25px;
    }
  }

  .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
  }
}

.case-box {
  width: 163px !important;
  margin-left: 10px;

  .file-box {
    width: 100%;
    margin: 0;
    height: 110px !important;
  }

  .case-title {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.demo-form-inline {
  height: 275px;
  padding: 0 10px;
  overflow: auto;
}

::v-deep .el-dialog__body {
  padding: 30px 10px 0;
}

// ::v-deep .el-upload-list--picture-card {
//   display: inline;

//   .el-upload-list__item {
//     width: 100px;
//     height: 100px;

//     img {
//       object-fit: contain;
//     }
//   }
// }
.upload-file-box {
  display: flex;
  flex-wrap: wrap;
}

::v-deep .el-upload--picture-card {
  width: 100px;
  height: 100px;
  line-height: 108px;
}

.upload-box {
  width: 100px;
  height: 100px;
  border: 1px dashed #c0ccda;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  margin-right: 10px;

  &:hover {
    .el-icon-delete {
      opacity: 1;
    }
  }

  .upload-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .upload-viedo {
    width: 100%;
    height: 100%;
  }

  .el-icon-delete {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    opacity: 0;
    transition: opacity .3s;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}